<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{
            width: 150px;
            height: 300px;
            border: 1px solid #ccc;
            transition: all 0.6s;
            margin: 100px;
        }
        div:hover{
            box-shadow: 0 10px 20px rgba(0,0,0,.5);
            transform: translateY(-20px);
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>